package com.ybkj.chat.module.login.presenter;

import android.content.Context;

import com.ybkj.chat.base.BaseRxPresenter;
import com.ybkj.chat.module.login.view.RegisterPresenterView1;
import com.ybkj.chat.utils.FormCheckUtil;

import javax.inject.Inject;

/**
 * author : ywh
 * date : 2019/2/3 12:49
 * description :
 */
public class RegisterPresenter1 extends BaseRxPresenter<RegisterPresenterView1> {
    @Inject
    public RegisterPresenter1(Context context) {
        super(context);
    }

    @Override
    public void onSuccess(Object response, int tag) {

    }

    /**
     * 获取验证码
     *
     * @param phone
     */
    public void getPhoneCode(String phone) {
        if (FormCheckUtil.ForgetPhone(phone)) return;
    }
}
